package com.yingsheng.bi.hks.basic.exception;

import lombok.Getter;

@Getter
public class ExternalRuntimeException extends RuntimeException {

    private final String source;

    private final String errorCode;

    public ExternalRuntimeException(String source, String errorCode, String errorMessage) {
        super(errorMessage);
        this.source = source;
        this.errorCode = errorCode;
    }

}
